<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'login.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<link rel="stylesheet" type="text/css" href="css/public.css" />
<link rel="stylesheet" type="text/css" href="css/page.css" />
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/public.js"></script>
<style type="text/css">
	.title{
		height: 75px;
		/* background-color: #4390B9; */
		background-color: white;
		padding-left:40px;
	}
	.title .s1{
		font-size: 35px;
		display:inline-block;
		height:75px; 
		line-height: 75px;
			
	}
	
</style>
</head>
<body>
	<div class="title">
		<div style="float: left;"><img alt="" src="img/login.png"></div>
		<div style="float: left;"><span class="s1">XX后台管理系统</span></div>
		
		
	</div>
	<form id="loginform" action="user/login" method="post">
		<!-- 登录body -->
		<div class="logDiv">
			<img class="logBanner" src="img/logBanner.png" />
			<div class="logGet">
				<!-- 头部提示信息 -->
				<div class="logD logDtip">
					<p class="p1">登录</p>
				</div>
				
				<!-- 输入框 -->
				<div class="lgD">
					<img class="img1" src="img/logName.png" />
					<input name="username" type="text" placeholder="输入用户名" />
				</div>
				<div class="lgD">
					<img class="img1" src="img/logPwd.png" />
					<input name="pwd" type="password" placeholder="输入用户密码" />
				</div>
				<div class="logC">
					<button type="button" onclick="javasrcipt:login();">登陆</button>
				</div>
				<div class="logC">
					<span style="display:inline-block; width:316px; text-align:center; font-size: 20px; color: red;">${errorMsg }</span>
				</div>
			</div>
		</div>
	</form>
	<!-- 登录body  end -->

	<!-- 登录页面底部 -->
	<div class="logFoot" >
		<p class="p1">版权所有：GRTS</p>
		<p class="p2">123456789</p>
	</div>
	<!-- 登录页面底部end -->
<script type="text/javascript">
	function login(){
		
		document.getElementById("loginform").submit();
	}


</script>
</body>
</html>